package me.shingohu.man.mvp;

import me.shingohu.man.intergation.IRepositoryManager;

/**
 * Created by hujie on 17/4/15.
 */

public class BaseModel implements IModel {

    protected IRepositoryManager mRespositoryManager;//用于管理网络请求层,以及数据缓存层

    public BaseModel(IRepositoryManager repositoryManager) {
        this.mRespositoryManager = repositoryManager;
    }

    @Override
    public void onDestroy() {
        mRespositoryManager = null;
    }
}
